#表示一系列连续的数值:range()
#range(start,end,step)
# for i in range(1,5):
#     print(f'第{i}次领取')
#     #输入年龄
#     age = int(input("输入你的年龄："))
#     if age >= 40:
#         print('卡')
#         if age <= 50:
#             print('一盒鸡蛋')
#         elif age <= 70:
#             print('两盒鸡蛋')
#         else:
#             print('三盒鸡蛋')
#     elif age >= 20:
#         print('一朵花')
#     elif age >= 10:
#         print('10元')
#     elif age < 10 and age >= 0:
#         print('铅笔')
#     else:
#         print('输入不合规')
#     print('领取结束')

# t=(1,'abc','e',33,[1,2])
# for i in t :
#     print(i)
#
# l=[1,'abc','e',33]
# for i in l:
#     print(i)
# d={'id':'1','name':'zhangsan','age':23,'class':[1,2,3]}
# for key,values in d.items():
#     print(f'我的键是：{key},我的值是：{values}')
# i=1
# while i<=5:
#     print(f'第{i}次领取')
#     #输入年龄
#     age = int(input("输入你的年龄："))
#     if age >= 40:
#         print('卡')
#         if age <= 50:
#             print('一盒鸡蛋')
#         elif age <= 70:
#             print('两盒鸡蛋')
#         else:
#             print('三盒鸡蛋')
#     elif age >= 20:
#         print('一朵花')
#     elif age >= 10:
#         print('10元')
#     elif age < 10 and age >= 0:
#         print('铅笔')
#     else:
#         print('输入不合规')
#     print('领取结束')
# #     i+=1
# l=[2,3,5,'66']
# i=0
# while i<len(l):
#     print(l[i])
#     i+=1
# t=(2,3,5,'66')
# i=0
# while i<len(t):
#     print(t[i])
#     i+=1
#寻找列表中是否存在某个值
# l=[66,78,53,100,81,100]
# j=0
# for i in l:
#     print(f'寻找第{j}次')
#     j+=1
#     if i==100:
#         print('找到')
#         break

# l=[66,78,53,100,81,100]
# j=1
# sum=0
# for i in l:
#     print(f'寻找第{j}次')
#     j+=1
#     if i!=100:
#         continue
#
#         print('找到')
#         sum += 1
#  print(sum)


































































